import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/index/index.vue'
import Recruit from '@/pages/recruit/index.vue'
import Notice from '@/pages/notice/index.vue'
import UserCenter from '@/pages/userCenter/index.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/Recruit',
      name: 'Recruit',
      component: Recruit
    },
    {
      path: '/Notice',
      name: 'Notice',
      component: Notice
    },
    {
      path: '/UserCenter',
      name: 'UserCenter',
      component: UserCenter
    }
  ]
})
